<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>BỆNH VIỆN RĂNG HÀM MẶT TRUNG ƯƠNG</title>
    <link rel="shortcut icon" href="favicon.ico" />
    
    <?php
        echo $this->Html->css('jquery-ui-1.8.15.custom');
	echo $this->Html->css('chosen');
        echo $this->Html->css('elfinder.full');
        echo $this->Html->css('visualize');
        echo $this->Html->css('table_jui');
        echo $this->Html->css('jquery.gritter');
        echo $this->Html->css('jquery.fancybox-1.3.4');
        echo $this->Html->css('fileuploader');
        echo $this->Html->css('jquery-ui-timepicker-addon');
        echo $this->Html->css('style');
                
        
        echo $this->Html->script('head.load.min');
	echo $this->Html->script('jquery-1.6.2.min');
	//echo $this->Html->script('jquery-1.3.2.min');
	//echo $this->Html->script('jquery.qtip-1.0.0-rc3.min');
//        echo $this->Html->script('jquery-ui-1.8.15.custom.min');
//        echo $this->Html->script('jquery.dataTables.min');
//        echo $this->Html->script('dataTables.plugins');
//        echo $this->Html->script('chosen.jquery.min');
//        echo $this->Html->script('elfinder.full');
//        echo $this->Html->script('visualize.jQuery');
//        echo $this->Html->script('excanvas');
//        echo $this->Html->script('FusionCharts');
//        echo $this->Html->script('jquery.gritter.min');
//        echo $this->Html->script('jquery.easing-1.3.pack');
//        echo $this->Html->script('jquery.fancybox-1.3.4.pack');
//        echo $this->Html->script('fileuploader');
//        echo $this->Html->script('jquery.tinymce');
//        echo $this->Html->script('jquery.microaccordion');
//        echo $this->Html->script('jquery.tools.min');
//        echo $this->Html->script('jquery.stickyPanel');
//        echo $this->Html->script('jquery.text-overflow.min');
//        echo $this->Html->script('xbreadcrumbs');
//        echo $this->Html->script('slidernav');
//        echo $this->Html->script('jquery.validate');
//        echo $this->Html->script('iphone-style-checkboxes');
//        echo $this->Html->script('jquery.raty.min');
//        echo $this->Html->script('jquery-ui-timepicker-addon');
//        echo $this->Html->script('jquery.faq.js');
//        echo $this->Html->script('1.2_lagu');
        
        
        echo $this->Html->css('jquery.jqplot');

        
    ?>
    
    <!--[if lt IE 9]><script language="javascript" type="text/javascript" src="<?php echo $this->Html->url("/js/excanvas.js"); ?>"></script><![endif]-->


<!--Start of Zopim Live Chat Script-->
<script type="text/javascript">
window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
$.src='//cdn.zopim.com/?MRcYRT7S2l41QLyP4DGGRzvHubbkk1H1';z.t=+new Date;$.
type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
</script>
<!--End of Zopim Live Chat Script-->

</head>

  

<body class="bg_c sidebar fixed ">
    
    <div id="slide_wrapper">
        <div id="slide_panel" class="wrapper">
            <div id="slide_content">

                <span id="slide_close"><img src="<?php echo $this->Html->url("/images/blank.gif"); ?>" alt="" class="round_x16_b" /></span>
				
				<div class="cf">
					<div class="dp100 sortable"><p class="s_color tac sepH_a">Danh sách 32 Tỉnh/Thành phía Nam <br />Lựa chọn Tỉnh/Thành để xem thông tin báo cáo</p></div>

				</div>
				
				<div class="row cf">
					<div class="dp100 taj">
					    <h4 class="sepH_b">Trung bộ</h4>
						<form id="main_city_form" action="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'changeCity')); ?>" method="post">
						    <input type="hidden" name="data[city_id]" value="" id="main_city_id" />
						    <input type="hidden" name="data[redirect_url]" value="<?php echo $this->here; ?>" />
						    <ul id="city_list">
							<?php foreach($c_cities['tb'] as $c) { ?>
							    <li><a href="#" onclick="$('#main_city_id').attr('value','<?php echo $c["City"]["id"] ?>');$('#main_city_form').submit()"><?php echo $c["City"]["name"] ?></a></li>
							<?php } ?>
						    </ul>
						</form>
					</div>
					<div class="dp100 taj" style="margin-top: 20px;">
					    <h4 class="sepH_b">Tây Nguyên</h4>
						<form id="main_city_form" action="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'changeCity')); ?>" method="post">
						    <input type="hidden" name="data[city_id]" value="" id="main_city_id" />
						    <input type="hidden" name="data[redirect_url]" value="<?php echo $this->here; ?>" />
						    <ul id="city_list">
							<?php foreach($c_cities['tn'] as $c) { ?>
							    <li><a href="#" onclick="$('#main_city_id').attr('value','<?php echo $c["City"]["id"] ?>');$('#main_city_form').submit()"><?php echo $c["City"]["name"] ?></a></li>
							<?php } ?>
						    </ul>
						</form>
					</div>					
					<div class="dp100 taj" style="margin-top: 20px;">
					    <h4 class="sepH_b">Đông Nam Bộ</h4>
						<form id="main_city_form" action="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'changeCity')); ?>" method="post">
						    <input type="hidden" name="data[city_id]" value="" id="main_city_id" />
						    <input type="hidden" name="data[redirect_url]" value="<?php echo $this->here; ?>" />
						    <ul id="city_list">
							<?php foreach($c_cities['dnb'] as $c) { ?>
							    <li><a href="#" onclick="$('#main_city_id').attr('value','<?php echo $c["City"]["id"] ?>');$('#main_city_form').submit()"><?php echo $c["City"]["name"] ?></a></li>
							<?php } ?>
						    </ul>
						</form>
					</div>
					<div class="dp100 taj" style="margin-top: 20px;">
					    <h4 class="sepH_b">Tây Nam Bộ</h4>
						<form id="main_city_form" action="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'changeCity')); ?>" method="post">
						    <input type="hidden" name="data[city_id]" value="" id="main_city_id" />
						    <input type="hidden" name="data[redirect_url]" value="<?php echo $this->here; ?>" />
						    <ul id="city_list">
							<?php foreach($c_cities['tnb'] as $c) { ?>
							    <li><a href="#" onclick="$('#main_city_id').attr('value','<?php echo $c["City"]["id"] ?>');$('#main_city_form').submit()"><?php echo $c["City"]["name"] ?></a></li>
							<?php } ?>
						    </ul>
						</form>
					</div>
					
				</div>
            </div>
        </div>
    </div>
    

   
	
	
	<div id="top_bar">
	<div class="wrapper cf">

		<ul class="fl">
			<li class="sep">TỔNG KẾT CÔNG TÁC RĂNG HÀM MẶT - CÁC TỈNH THÀNH PHÍA NAM</li>

			
		</ul>
		
		<ul class="new_items fr">
			<li class="sep">Số Tỉnh/Thành <span class="count_el">32</span></li>
			

			<li class="sep">Năm <span class="count_el">
			    <form method="post" action="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'changeYear')) ?>" id="change_year">
				<input type="hidden" name="data[redirect_url]" value="<?php echo $this->here; ?>" />
				<select onchange="document.getElementById('change_year').submit()" name="data[change_year]">        
				    <?php for($i=1991; $i < 2031; $i++ ) {
					$selected = "";
					if($c_year == $i)
					{
					    $selected = 'selected="selected"';
					}
				    ?>
					<option value="<?php echo $i ?>" <?php echo $selected; ?> ><?php echo $i ?></option>
				    <?php } ?>
				</select>
			    </form>
			</span></li>
			<li class="sep">Quý <span class="count_el">
			    <form method="post" action="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'changeQuarter')) ?>" id="change_quarter">
				<input type="hidden" name="data[redirect_url]" value="<?php echo $this->here; ?>" />
				<select onchange="document.getElementById('change_quarter').submit()" name="data[change_quarter]">        
				    <?php for($i=1; $i < 5; $i++ ) {
					$selected = "";
					if($c_quarter == $i)
					{
					    $selected = 'selected="selected"';
					}
				    ?>
					<option value="<?php echo $i ?>" <?php echo $selected; ?> ><?php echo $i ?></option>
				    <?php } ?>
				</select>
			    </form>
			</span></li>

                        <li id="slide_open">
			    <strong>
				<?php if(count($c_city)) { ?>
				    <?php echo $c_city["City"]["name"] ?>
				<?php } else { ?>
				    Tỉnh/Thành
				<?php } ?>
			    </strong>
			<img src="<?php echo $this->Html->url("/images/blank.gif"); ?>" alt="" class="arrow_down_a" /></li>
		 </ul>
		 <ul class="ew_items fr">
			<li class="sep">
				<?php if (!empty($user)) { ?>
					Chào, <?php echo $user['username']; ?>!
					  <?php
					  echo $this->Html->link('Thoát', array('plugin'=>null, 
					'admin'=>false, 'controller'=>'users', 'action'=>'logout'));
					  echo " - ".$this->Html->link('Trang quản trị', array('plugin'=>null, 
					'manager'=>true, 'controller'=>'CityDetails'));
					} else {
						echo $this->Html->link('Đăng nhập', array('plugin'=>null, 
						'admin'=>false, 'controller'=>'users', 'action'=>'login'));
					}
				?>
				
			</li>

			
		</ul>
	</div>
</div>

<div id="main">

			<div class="wrapper cf">
				<div id="main_section" class="cf brdrrad_a">
				   
					<ul id="breadcrumbs" class="xbreadcrumbs cf">
						<li class="parent">

							<img src="<?php echo $this->Html->url("/images/blank.gif"); ?>" alt="" class="sepV_a vam home_ico" />
							<a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'map')); ?>" class="vam">Trang chủ</a>
							<ul class="first">
							    <li><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'map')); ?>">Bản đồ</a></li>
							    <li><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'humanresource_reports')); ?>">Tình hình nhân sự</a></li>
							    <li><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'nhd_reports')); ?>">Hoạt động Nha học đường</a></li>
							    <li><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'treatment_reports')); ?>">Hoạt động điều trị và mạng lưới RHM</a></li>
							    <li><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'device_reports')); ?>">Kết quả đầu tư trang thiết bị nha khoa</a></li>	
							</ul>

						</li>
						<?php if($c_city) { ?>
						    <li class="parent">
							    <a href="#">Số liệu các cơ sở</a>
    
							    <ul>
								    <li><a href="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'details')); ?>">Thông tin chung</a></li>
								    <li><a href="<?php echo $this->Html->url(array('controller'=>'human_resources')); ?>">Nhân sự</a></li>
								    <li><a href="<?php echo $this->Html->url(array('controller'=>'device_resources')); ?>">Trang thiết bị</a></li>
								    <li><a href="<?php echo $this->Html->url(array('controller'=>'treatment_records')); ?>">Loại hình điều trị</a></li>
    
							    </ul>
						    </li>
						    <li class="parent">
							 <a href="#" class="slide_open2">Các nội dung hoạt động</a>
							 
							 <ul>
								 <li><a href="<?php echo $this->Html->url(array('controller'=>'science_projects')); ?>">Nghiên cứu khoa học</a></li>
								 <li><a href="<?php echo $this->Html->url(array('controller'=>'n1816_projects')); ?>">Đề án 1816</a></li>			
							 </ul>
					 
						    </li>
						    <li class="parent">
    
							    <a href="#">Nha học đường</a>
							    <ul>
								    <li><a href="<?php echo $this->Html->url(array('controller'=>'nhd_human_resources')); ?>">Nhân sự</a></li>
								    <li><a href="<?php echo $this->Html->url(array('controller'=>'nhd_device_resources')); ?>">Trang thiết bị</a></li>
								    <li><a href="<?php echo $this->Html->url(array('controller'=>'nhd_activity_records')); ?>">Nội dung hoạt động</a></li>                    
							    </ul>
						    </li>
						<?php } else { ?>
						    <li class="parent">
							    <a href="#" class="slide_open2">Số liệu các cơ sở</a>
    
							    <ul>
								    <li class="slide_open2"><a href="#">Thông tin chung</a></li>
								    <li class="slide_open2"><a href="#">Nhân sự</a></li>
								    <li class="slide_open2"><a href="#">Trang thiết bị</a></li>
								    <li class="slide_open2"><a href="#">Loại hình điều trị</a></li>
    
							    </ul>
						    </li>
						    <li class="parent">
							 <a href="#" class="slide_open2">Các nội dung hoạt động</a>
							 
							 <ul>
								 <li class="slide_open2"><a href="#">Nghiên cứu khoa học</a></li>
								 <li class="slide_open2"><a href="#">Đề án 1816</a></li>			
							 </ul>
					 
						    </li>
						    <li class="parent">
    
							    <a href="#" class="slide_open2">Nha học đường</a>
							    <ul>
								    <li class="slide_open2"><a href="#">Nhân sự</a></li>
								    <li class="slide_open2"><a href="#">Trang thiết bị</a></li>
								    <li class="slide_open2"><a href="#">Nội dung hoạt động</a></li>          
							    </ul>
						    </li>
						<?php } ?>						
					</ul>
					
					<div id="content_wrapper">
						<div id="main_content" class="cf">
							<div class="dashboard cf">
                                                            
                                                            
                                                        <?php echo $content_for_layout; ?>

	
    

   <div class="cf">
		<div class="sortable dp100"></div>
   </div>
</div>
<script type="text/javascript">
	head.ready(function(){
		$("#main_map").tooltip({
			effect: 'slide'
		     })
	})
	
</script>						</div>
					</div>
				
				    <div id="sidebar">
					<?php if($this->params['controller'] != "home") { ?>
					    <div class="micro">
				    
						    <h4><span>Số liệu các cơ sở RHM</span></h4>
				    
						    <ul class="sub_section cf"  style="display:none">
							    <li<?php if($this->params['controller'] == 'cities') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'details')); ?>">Thông tin chung</a></li>
							    <li<?php if($this->params['controller'] == 'human_resources') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'human_resources')); ?>">Tình hình nhân sự</a></li>
							    <li<?php if($this->params['controller'] == 'device_resources') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'device_resources')); ?>">Trang thiết bị</a></li>
							    <li<?php if($this->params['controller'] == 'treatment_records') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'treatment_records')); ?>">Loại hình điều trị</a></li>			
						    </ul>
				    
					    </div>
					    <div class="micro">
							 <h4><span>Các nội dung hoạt động</span></h4>
							 <ul class="sub_section cf" style="display:none">
								 <li<?php if($this->params['controller'] == 'science_projects') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'science_projects')); ?>">Nghiên cứu khoa học</a></li>
								 <li<?php if($this->params['controller'] == 'n1816_projects') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'n1816_projects')); ?>">Đề án 1816</a></li>			
							 </ul>
					 
					    </div>
					    <div class="micro">
						 <h4><span>Nha học đường</span></h4>
						 <ul class="sub_section cf" style="display:none">						     
						     <li<?php if($this->params['controller'] == 'nhd_human_resources') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'nhd_human_resources')); ?>">Nhân sự</a></li>
						     <li<?php if($this->params['controller'] == 'nhd_device_resources') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'nhd_device_resources')); ?>">Trang thiết bị</a></li>
						     <li<?php if($this->params['controller'] == 'nhd_activity_records') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'nhd_activity_records')); ?>">Nội dung hoạt động</a></li>	
						 </ul>
				    
					    </div>
					    <br /><br />
					<?php } ?>
					    <div class="micro">
				    
						    <h4><span>Thống kê chung 32 Tỉnh/Thành</span></h4>
				    
						    <ul class="sub_section cf"  style="display:none">
							<li<?php if($this->params['controller'] == 'home' && $this->params['action'] == 'humanresource_reports') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'humanresource_reports')); ?>">Tình hình nhân sự</a></li>
							<li<?php if($this->params['controller'] == 'home' && $this->params['action'] == 'nhd_reports') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'nhd_reports')); ?>">Hoạt động Nha học đường</a></li>
							<li<?php if($this->params['controller'] == 'home' && $this->params['action'] == 'treatment_reports') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'treatment_reports')); ?>">Hoạt động điều trị và mạng lưới RHM</a></li>
							<li<?php if($this->params['controller'] == 'home' && $this->params['action'] == 'device_reports') echo ' class="active"'; ?>><a href="<?php echo $this->Html->url(array('controller'=>'home', 'action'=>'device_reports')); ?>">Kết quả đầu tư trang thiết bị nha khoa</a></li>							   
						    </ul>
				    
					    </div>
				    </div>
				    
				    
				</div>
			</div>
		</div>
	
		<div id="footer">
	   <div class="wrapper">
		  <div class="cf ftr_content">
			<p class="fl">Bản quyền &copy; 2011 RangHamMat.vn, thiết kể bởi Hoàng Khang Incotech</p>

			<a href="javascript:void(0)" class="toTop">Lên đầu trang</a>
		  </div>
	   </div>	
	</div>
	<script type="text/javascript">
                head.js("<?php echo $this->Html->url("/js/jquery-1.6.2.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery-ui-1.8.15.custom.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.dataTables.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/datatable_plugin.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/chosen.jquery.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/elfinder.full.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/visualize.jQuery.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/excanvas.js"); ?>");
		//head.js("<?php echo $this->Html->url("/js/FusionCharts.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.gritter.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.easing-1.3.pack.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.fancybox-1.3.4.pack.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/fileuploader.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.tinymce.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.microaccordion.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.tools.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.stickyPanel.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.text-overflow.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/xbreadcrumbs.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/slidernav.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.validate.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/iphone-style-checkboxes.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.raty.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery-ui-timepicker-addon.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jquery.faq.js"); ?>");
		
		head.js("<?php echo $this->Html->url("/js/jquery.jqplot.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jqplot.categoryAxisRenderer.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jqplot.barRenderer.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jqplot.pointLabels.min.js"); ?>");
		head.js("<?php echo $this->Html->url("/js/jqplot.pieRenderer.js"); ?>");
		
		//head.js("<?php echo $this->Html->url("/js/jquery.bgiframe.js"); ?>");
		//head.js("<?php echo $this->Html->url("/js/jquery.dimensions.js"); ?>");
		//head.js("<?php echo $this->Html->url("/js/tooltip.js"); ?>");
		
		//head.js("<?php echo $this->Html->url("/js/jquery.qtip-1.0.0-rc3.min.js"); ?>");

	
		head.js("<?php echo $this->Html->url("/js/1.2_lagu.js"); ?>");
	</script>
	
	<script type="text/javascript">
		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-26431635-1']);
		_gaq.push(['_trackPageview']);
	  
		(function() {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		})();
	</script>
	<?php //echo "fdgdfgd".$this->element('sql_dump'); ?>
</body>

</html>	



